﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace SLSudoDB
{
    public interface IFileStorageProvider
    {
        bool DirectoryExists(string path);
        bool FileExists(string path);
        void CreateDirectory(string path);
        void DeleteFile(string path);
        StreamReader GetStreamReader(string path);
        StreamWriter GetStreamWriter(string path);
        string ReadAllText(string path);
        void WriteAllText(string path, string text);
        string[] GetFilesInDirectory(string path, string patteren);
    }
}
